<%@ page session="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my"%>
<%@ taglib uri="/WEB-INF/tld/user.tld" prefix="user"%>
<%@ taglib uri="/WEB-INF/tld/activity.tld" prefix="activity"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:import url="/WEB-INF/tpl/_include/_css.jsp" />

<body>

<div id="content" class="reg_bg">
	<!--header begin-->
     <c:import url="/WEB-INF/tpl/_include/_header2.jsp" />
	 <!--header end-->

    <!--main begin-->

    <div id="main">
    	<div class="reg_input">
        	<div class="reg_left">
            	 <h3 class="space_title f16"><em>设置关注信息</em></h3>
                <h4 class="space_title f14"><a href="./user.do?src=10201&do=User.basic" class="pubic">个人安全</a><a href="./user.do?src=10201&do=Subscript.layout" class="pubic hov">关注信息</a></h4>
                <h3 class="reg_title f14">&gt;&nbsp;已关注的优惠信息<span>居委会实习生只能关注5类优惠    </span><span> <strong>${msg}!</strong> </span></h3>
                <div class="follow_table">
                	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <th>分  类</th>
                            <th>接受邮件推送</th>
                            <th>月均推送邮件</th>
                            <th>&nbsp;</th>
                        </tr>
                        <c:forEach var="c" items="${result}" varStatus="s">
						  <tr>
							<c:set var="css" value="li1" />
							<c:if test="${s.index mod 2 eq 1}">
							<c:set var="css" value="li2" />
							</c:if>
							 <td style="text-align:left;">
							 <c:set var="sc" value="${my:city(cuser.city)}"/><c:if test="${empty sc}"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">全国</a></c:if><c:if test="${not empty sc}"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">${my:txt(sc.name)}</a></c:if>
							 <c:forEach var="cc" items="${activity:pids(c)}" varStatus="s">
							<c:set var="ca" value="${activity:category(cc)}"/>
							> <a href="${basehost}activity.do${p1}&amp;do=Activity.${activity:type(cc)}&amp;cid=${cc}">${ca.name}</a>
							</c:forEach></td>
							 <td>
						      <input type="radio" name="radiobutton" value="radiobutton"/><label>开</label>    <input type="radio" name="radiobutton" value="radiobutton" />    <label>关</label></td>
						    <td>3封</td>
						    <td><a class="del" cid="${c}" href="${basehost}user.do${p1}&amp;do=Subscript.delete&amp;cid=${c}" onclick="if(!confirm('确定要删除？')) return false;">删除</a></td>
						
						
							</tr>
						 </c:forEach>                       
                    </table>
                    <p><a href="#" id="user_add_attention" class="add">新增关注</a></p>
                </div>
            </div>

            <div class="reg_right">                 
                <div id="_login_content">
				   <c:import url="/WEB-INF/tpl/_include/_login.jsp" />
				</div>
            </div>
        </div>
    </div>
    <!--main end-->
    <!--footer begin-->
      <c:import url="/WEB-INF/tpl/tpl/_footer.jsp" />
    <!--footer end-->
  
</body>
</html>
